import request from '../utils/request';

export const RegionPagingAgent = data => {
  return request({
      url: 'api/Agent/PagingQuery',
      method: 'post',
      data: data
  });
};
export const RegionAdd = data => {
  return request({
      url: 'api/Agent/Add',
      method: 'post',
      data: data
  });
};
export const RegionUpdate = data => {
  return request({
      url: 'api/Agent/Update',
      method: 'post',
      data: data
  });
};

export const RegionDelete = data => {
    return request({
        url: 'api/Agent/Delete',
        method: 'post',
        data: data
    });
};

export const PagingAgent = data => {
    return request({
        url: 'api/Agent/PagingAgent',
        method: 'post',
        data: data
    });
};
export const AgentUserInfo = data => {
    return request({
        url: 'api/Agent/AgentUserInfo',
        method: 'post',
        data: data
    });
};
export const PagingAgentApply = data => {
    return request({
        url: 'api/Agent/PagingAgentApply',
        method: 'post',
        data: data
    });
};
export const AgentApplyInfo = data => {
    return request({
        url: 'api/Agent/AgentApplyInfo',
        method: 'post',
        data: data
    });
};
export const PassApply = data => {
    return request({
        url: 'api/Agent/PassApply',
        method: 'post',
        data: data
    });
};
export const RejectApply = data => {
    return request({
        url: 'api/Agent/RejectApply',
        method: 'post',
        data: data
    });
};
export const ApplyStatusType = data => {
    return request({
        url: 'api/Agent/ApplyStatusType',
        method: 'post',
        data: data
    });
};
export const ProvinceCity = data => {
    return request({
        url: 'api/Agent/ProvinceCity',
        method: 'post',
        data: data
    });
};
export const QueryUnDeliver = data => {
    return request({
      url: 'api/Order/QueryUnDeliver',
      method: 'post',
      data: data
    })
  }
  export const QueryInfo = data => {
    return request({
      url: 'api/Order/QueryInfo',
      method: 'post',
      data: data
    })
  }
  export const QueryDelivered = data => {
    return request({
      url: 'api/Order/QueryDelivered',
      method: 'post',
      data: data
    })
  }
  export const QueryUnPayment = data => {
    return request({
      url: 'api/Order/QueryUnPayment',
      method: 'post',
      data: data
    })
  }
  export const QueryFinish = data => {
    return request({
      url: 'api/Order/QueryFinish',
      method: 'post',
      data: data
    })
  }
  export const QueryCloudStocks = data => {
    return request({
      url: 'api/Order/QueryCloudStocks',
      method: 'post',
      data: data
    })
  }
  export const Export = data => {
    return request({
      url: 'api/Order/Export',
      method: 'post',
      data: data
    })
  }
  export const Import = data => {
    return request({
      url: 'api/Order/Import',
      method: 'post',
      data: data
    })
  }
  export const Deliver = data => {
    return request({
      url: 'api/Order/Deliver',
      method: 'post',
      data: data
    })
  }
  